package cn.dida.service;

import cn.dida.model.LgsCust;
import cn.dida.model.Pageable;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangzhiling on 2017/4/21.
 */
public interface LgsCustService {

    public Pageable<LgsCust> query(Integer companyId, String keyword, Integer sta, int page);

    public Boolean insert(LgsCust lgsCust);

    public Boolean update(LgsCust lgsCust);

    public LgsCust getLgsCust(int id);

    public LgsCust testCode( Integer companyId, String custCode);

    public List<Map<String,Object>> getAreaList(Integer companyId);

    /**************************** 进货网点 ****************************/
    public Pageable<LgsCust> queryCustList(Integer companyId, String keyword,String custCode,String  mobile, int page);

    public Pageable<Map<String,Object>> queryCustScanList(Integer companyId, Integer branchId, String product, String boxCode,
                                                          String scanTimeS, String scanTimeE, int page);
}
